package io.chance.receiverlei.db.model;

import lrq.data.Annotation.Table;
import lrq.data.Annotation.TableMapping;
import lrq.data.Model;

import java.sql.Timestamp;

@Table(tableName="D_BD_MO_RT")
public class MonitorDataModel extends Model{

	@TableMapping(FieldName="ID",Comment="guid",PrimaryKey=true)
	protected String GUID;

	@TableMapping(FieldName="QN",Comment="请求编码")
	protected String QN;

	@TableMapping(FieldName="ST",Comment="系统编号")
	protected String ST;

	@TableMapping(FieldName="CN",Comment="命令编号")
	protected String CN;

	@TableMapping(FieldName="DATATIME",Comment="数据时间")
	protected Timestamp DATATIME;

	@TableMapping(FieldName="SITE_ID",Comment="设备唯一编码")
	protected String MN;

	@TableMapping(FieldName="VALUE",Comment="实时数值")
	protected Double COU;

	@TableMapping(FieldName="MAX",Comment="最大值")
	protected Double MAX;

	@TableMapping(FieldName="MIN",Comment="最小值")
	protected Double MIN;

	@TableMapping(FieldName="AVG",Comment="最小值")
	protected Double AVG;
	
	@TableMapping(FieldName="RTD",Comment="")
	protected Double RTD;

	@TableMapping(FieldName="POLL_CODE",Comment="参数名称")
	protected String PARMNAME;

	@TableMapping(FieldName="FLAG",Comment="数据标识")
	protected String FLAG;
	
	@TableMapping(FieldName="MSG",Comment="报文")
	protected String MSG;
	
	@TableMapping(FieldName="ERROR_DATA",Comment="是否有错误数据")
	protected String ERROR_DATA;
	
	@TableMapping(FieldName="DATA_FROM",Comment="数据来源")
	protected String DATA_FROM;

	public MonitorDataModel() {
		super();
	}

	public String getGUID() {
		return GUID;
	}
	
	public String getDATA_FROM() {
		return DATA_FROM;
	}

	public void setDATA_FROM(String dATA_FROM) {
		DATA_FROM = dATA_FROM;
	}

	public Double getRTD() {
		return RTD;
	}

	public void setRTD(Double rTD) {
		RTD = rTD;
	}

	public String getMSG() {
		return MSG;
	}

	public void setMSG(String mSG) {
		MSG = mSG;
	}

	public String getERROR_DATA() {
		return ERROR_DATA;
	}

	public void setERROR_DATA(String eRROR_DATA) {
		ERROR_DATA = eRROR_DATA;
	}

	public void setGUID(String GUID) {
		this.GUID = GUID;
	}
	
	public String getFLAG() {
		return FLAG;
	}

	public void setFLAG(String fLAG) {
		FLAG = fLAG;
	}

	public String getQN() {
		return QN;
	}

	public void setQN(String QN) {
		this.QN = QN;
	}

	public String getST() {
		return ST;
	}

	public void setST(String ST) {
		this.ST = ST;
	}

	public String getCN() {
		return CN;
	}

	public void setCN(String CN) {
		this.CN = CN;
	}

	public Timestamp getDATATIME() {
		return DATATIME;
	}

	public void setDATATIME(Timestamp DATATIME) {
		this.DATATIME = DATATIME;
	}

	public String getMN() {
		return MN;
	}

	public void setMN(String MN) {
		this.MN = MN;
	}

	public Double getCOU() {
		return COU;
	}

	public void setCOU(Double COU) {
		this.COU = COU;
	}

	public Double getMAX() {
		return MAX;
	}

	public void setMAX(Double MAX) {
		this.MAX = MAX;
	}

	public Double getMIN() {
		return MIN;
	}

	public void setMIN(Double MIN) {
		this.MIN = MIN;
	}

	public Double getAVG() {
		return AVG;
	}

	public void setAVG(Double AVG) {
		this.AVG = AVG;
	}

	public String getPARMNAME() {
		return PARMNAME;
	}

	public void setPARMNAME(String PARMNAME) {
		this.PARMNAME = PARMNAME;
	}

}